const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: './',
  outputDir: 'lsydfk_pc',
  lintOnSave: process.env.NODE_ENV !== 'production',
  devServer: {
    port: 8099,
    open: false,
    // overlay: {
    //   warnings: false,
    //   errors: true
    // },
    proxy: {
      "/lsydfk": {
        changeOrigin: true, // 是否跨域
        target: "https://lsydsq.cqlandcloud.org.cn",
        // target: "http://172.16.18.123:8037/", 
        pathRewrite: {
          // 重写路径
        },
      },
    },
  },
})